package org.itboys.mobile.entity.mongo;

import org.itboys.mongodb.entity.BaseLongIdEntity;
import org.mongodb.morphia.annotations.Entity;

import java.util.Date;

/**
 * Created on 2017/10/30.
 * @author 朱坤涛
 */
@Entity(value = "OrderShopGift",noClassnameStored = true)
public class OrderShopGift extends BaseLongIdEntity{
    private String orderNo; //订单编号，唯一
    private Long memberId;
    private Integer status = 0; //订单状态 -1取消订单 0待付款 1-已完成
    private Long refId; //礼包Id
    private Integer payType = 0; //付款类型 1-支付宝 2-微信
    private Double totalFee = 0.0;// 商品总价
    private String mobile;// 手机号
    private String name;// 收货人姓名
    private String address;// 收货地址
    private String message; //买家留言
    private Long provinceId;//省id
    private Long cityId;//市id
    private Long districtId;//区县id
    private String number; //流水号
    private String receiveAddress; //收货地址

    private String express;// 哪个物流公司 关联数据字典表
    private String expressEng;// 物流英文
    private String expressNo;// 物流单号 快递单号
    private Date createTime;// 生成订单时间
    private Date payTime;// 付款时间
    private Date sendTime;
    private String userMobile;

    private int flag = 0;
    private String nickName;
    private String productName;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getRefId() {
        return refId;
    }

    public void setRefId(Long refId) {
        this.refId = refId;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Double getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(Double totalFee) {
        this.totalFee = totalFee;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Long getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Long provinceId) {
        this.provinceId = provinceId;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public Long getDistrictId() {
        return districtId;
    }

    public void setDistrictId(Long districtId) {
        this.districtId = districtId;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getExpress() {
        return express;
    }

    public void setExpress(String express) {
        this.express = express;
    }

    public String getExpressEng() {
        return expressEng;
    }

    public void setExpressEng(String expressEng) {
        this.expressEng = expressEng;
    }

    public String getExpressNo() {
        return expressNo;
    }

    public void setExpressNo(String expressNo) {
        this.expressNo = expressNo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getReceiveAddress() {return receiveAddress;}

    public void setReceiveAddress(String receiveAddress) {this.receiveAddress = receiveAddress;}
}
